package com.jse.provider;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.nutz.mvc.impl.session.AbstractSessionProvider;

import com.jse.plug.JseSession;

public class JseSessionProvider extends AbstractSessionProvider {

	@Override
	public HttpSession createSession(HttpServletRequest req, HttpServletResponse resp, ServletContext app) {
		return new JseSession(req, resp);
	}

	@Override
	public HttpSession getExistSession(HttpServletRequest req, HttpServletResponse resp, ServletContext app) {
		return new JseSession(req, resp);
	}

}